This species of willow-herb, like several other similar species, grows on a moist substrate---either sand, silt, muck, or peat---in swamps, wet meadows, marshes, and along lakeshores and streambanks. It is inconspicuous, even when in flower, but is good in mixtures.